package com.naiterui.ehp.bs.patient.vo.doctor;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bp.utils.date.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(value = "CommentDetailBO", description = "评价对象")
public class ConsultCommentVO implements Serializable {

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "患者呢称")
    private String patientNickName;

    @ApiModelProperty(value = "患者头像(有可能为空串)")
    private String patientHeadUrl;

    @ApiModelProperty(value = "评价内容")
    private String commentContent;

    @ApiModelProperty(value = "评价星级")
    private Integer starLevel;

    @ApiModelProperty(value = "疾病")
    private String diagnosis;

    @ApiModelProperty(value = "评价时间(yyyy-MM-dd hh:mm:ss)")
    @JsonFormat(pattern = DateUtil.DATE_TIME_FORMAT)
    private Date createdAt;


}
